﻿
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 
<title>jb-aptech毕业设计项目</TITLE>
<meta name="renderer" content="ie-comp">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script src="script/common.js"></script>
<script src="script/validate.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css"></link>
    <script type="text/javascript" src="/js/jquery.min.js"></script>
    <script type="text/javascript" src="/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/vue.js"></script>
</head>
  
  <body>
    <div class="page_title">权限管理 > 角色管理 > 角色管理 > 查看角色</div>
    <div id="detail">
    <form name="sysRoleForm" method="post" action="/CRM/sysRole.do">
    	<input type="hidden" name="o" value="toLookSysRole">
    	<div class="button_bar">
	   		<button class="common_button" onclick="help('');">帮助</button>
	   		<button class="common_button" @click="back()" type="button">返回</button>
	   	</div>
	   	<br/>
	   	<table class="query_form_table">
	   		<tr>
	   			<th>
	   				编号
	   			</th>
	   			<td>
	   				{{sysRole.role_id}}
	   			</td>
	   			<th>
	   				角色名
	   			</th>
	   			<td>{{sysRole.role_name}}</td>
	   		</tr>
	   		<tr>
	   			<th>
	   				角色描述
	   			</th>
	   			<td>
                    {{sysRole.role_desc}}
	   			</td>
	   			<th>状态</th>
	   			<td>
                    {{sysRole.role_flag==1?'正常':'禁用'}}
	   			</td>
	   		</tr>
	   	</table>
    </form>
    </div>
    <script>
        var roles=new Vue({
            el:"#detail",
            data:{
                sysRole:{
                    role_id:'',
                    role_name:'',
                    role_desc:'',
                    role_flag:''
                }
            },
            methods:{
                back(){
                    location="/html/~right/role/list.html";
                }
            },
            created(){
                this.sysRole=JSON.parse(sessionStorage.getItem("role"));
            }
        });
    </script>
  </body>
</html>
